﻿<UserControl x:Class="PSE.Tools.SchemaComparer.WindowsApp.UcComparer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid Grid.Row="0">
        <Grid.RowDefinitions>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        
        <!--ROW 0-->
        <Border Grid.Row="0" Grid.ColumnSpan="2" Background="LightGray" Panel.ZIndex="-1"></Border>
        <Label Grid.Row="0" Grid.ColumnSpan="2">Informe abaixo os arquivos contendo os Schemas a comparar</Label>

        <!--ROW 1-->
        <Label Grid.Row="1" Grid.Column="0">Schema 1</Label>
        <TextBox Grid.Row="1" Grid.Column="1" x:Name="txtSchemaSource" Margin="0,0,24,0"></TextBox>
        <Button Grid.Row="1" Grid.Column="1" x:Name="btnSchemaSource" Width="24" HorizontalAlignment="Right" Click="btnSchemaSource_Click">...</Button>

        <!--ROW 2-->
        <Label Grid.Row="2" Grid.Column="0">Schema 2</Label>
        <TextBox Grid.Row="2" Grid.Column="1" x:Name="txtSchemaTarget" Margin="0,0,24,0"></TextBox>
        <Button Grid.Row="2" Grid.Column="1" x:Name="btnSchemaTarget" Height="24" Width="24" HorizontalAlignment="Right" Click="btnSchemaTarget_Click">...</Button>

        <!--ROW 3-->
        <Label Grid.Row="3" Grid.Column="0">Arquivo de Saída</Label>
        <TextBox Grid.Row="3" Grid.Column="1" x:Name="txtCompareFileResult" Margin="0,0,24,0" ToolTip="Caminho do arquino no qual será armazenado o resultado da comparação dos Schemas"></TextBox>
        <Button Grid.Row="3" Grid.Column="1" x:Name="btnCompareFileResult" Height="24" Width="24" HorizontalAlignment="Right" Click="btnCompareFileResult_Click">...</Button>

        <!--ROW 4-->
        <Button Margin="0,4,0,0" Grid.Row="4" Width="150" Height="24" Grid.ColumnSpan="2" HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="btnCompare" Click="btnCompare_Click">Comparer Schemas</Button>
    </Grid>
</UserControl>
